<?php


namespace app\common\model;


use think\Model;

class ShopGoodsModel extends Model
{

    public function category(){
        return $this->hasOne(ShopGoodsCategoryModel::class,'id','categoryid');
    }
}